Systems and methods for determining if a receiver is inside or outside a building or area

ABSTRACT

Determining if a receiver is inside or outside a building or area. Particular systems and methods for determining if a receiver is inside or outside a building determine an estimate of a position of a receiver, and use the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building. The other data may include locations of geo-fences inside buildings, heights of buildings, or other types of data.

FIELD

Various embodiments relate to wireless communications, and more particularly, to networks, devices, methods and processor-readable media for acquiring three-dimensional location information, and using the acquired three-dimension location information to locate users and enhance their experience in relation to location-based services.

BACKGROUND

It is desirable to estimate the position (or “location”) of a person in a geographic area with a reasonable degree of accuracy, and to associate that position with nearby places, things and services. Unfortunately, various techniques that estimate the position of a user are often expensive, slow or inaccurate. These shortcomings are pronounced in urban environments, where estimating the position of a person is difficult due to many challenges that must be overcome to deliver cost-effective and reliable position estimates. Even if cheaper and more reliable technologies are used, the scarcity of information regarding the locations of places, things and services, relative to the person, presents additional problems in urban environments. Accordingly, there is a need for improved techniques for estimating a position of a person, and for collecting assistance data that can be used with the position estimate to connect that person to a place, thing or service.

DRAWINGS

FIG. 1 depicts a positioning environment within which embodiments are implemented.

FIG. 2 depicts aspects of receiver, transmitter and auxiliary assistance system 270.

FIG. 3A and FIG. 3B illustrate a user interface at during operation of an auto-rotation process.

FIG. 4 depicts an auto-rotation process.

FIG. 5 depicts a method for identifying a map corresponding to a floor of a building.

FIG. 6 depicts positions of a receiver relative to a geo-fence different times.

FIG. 7 depicts a method for confirming the accuracy of a position estimate.

FIG. 8 depicts a method for crowd-sourcing altitude estimates to map heights of floors.

DESCRIPTION

Overview of System

FIG. 1 illustrates a positioning environment 100 within which various embodiments disclosed herein may be implemented. The environment 100 includes a wide area network of synchronized transmitters 110 (also denoted herein as “beacons”), which are depicted as terrestrial, as well any number of receivers 120 configured to acquire and track signals provided from the transmitters 110, a network of satellites 150, or another network node 160 (e.g., cellular, Wi-Fi, Ethernet, other communication network).

The environment 100 may further include a backend system 130 that communicates with various other systems, such as the transmitters 110, the receivers 120, and the other networks (e.g., the network node 160). The backend system 130 may include one or more processor(s), data source(s), interfaces and other components (not shown).

Components of the backend system 130 and the other systems (e.g., transmitters 110 and receivers 120) may be geographically distributed from one another in different neighborhoods, cities, counties, states, countries, or other types of regions, such that the receiver 120 receives signals from the transmitters 110 in one location, and at least some of the processing related to those signals is carried out by the backend server 130 in another location. It is noted that processing at one system (e.g., the transmitter 110, the receiver 120, or the backend system 130) may be initiated by signals received from another one of those systems.

Various receivers 120 a-e are depicted at various altitudes 1-n. Of course, the environment 100 may be configured to support more receivers and more altitudes (or depths below some reference altitude). Each receiver 120 may include a processor (e.g., the processor 210 shown in FIG. 2) that determines position information based on signals received from the transmitters 110 or other networks (e.g., the satellites 150, the node 160). Once known, the position information may be used to estimate the position of the receiver 120 in terms of Latitude, Longitude and Altitude (LLA).

Various techniques are used to estimate the position of an receiver, including trilateration, which is the process of using geometry to estimate a location of the receiver using distances (or “ranges”) traveled by different “ranging” signals that are received by the receiver from different transmitters (or antennas when using a multi-antenna configuration). If the time of transmission of a ranging signal from a transmitter and the reception time of the ranging signal are known, then the difference between those times multiplied by speed of light would provide an estimate of the distance traveled by that ranging signal. These estimates are often referred to as “range measurements”. In most cases, the range measurements are not equal to the actual ranges (i.e., shortest distances) between transmitters 110 and the receiver 120, mainly because signals reflect off of objects (e.g., walls and other structures of buildings 190) that are disposed between or near the transmitters 110 and the receiver 120. Consequently, the estimate of the receiver's position does not necessarily overlap the actual position.

The receivers 120 may receive signals from and/or send signals to the transmitters 110, the satellites 150 and the network node 160 via corresponding communication links 113, 153 and 163. Communication connectivity between a receiver 120 and other systems (e.g., the backend system 130) may be carried out using wired means (e.g., Ethernet, USB, flash RAM, or other similar channels as is known or later developed in the art), or wireless means (radio frequency, Wi-Fi, Wi-Max, Bluetooth, or other wireless channels as is known or later developed in the art).

The transmitters 110 may be configured to transmit signals that are received by any of the receivers 120, and to communicate with the backend system 130 via communication links 133. In some embodiments, the transmitters 110 may transmit signals using one or more common multiplexing parameters—e.g. time slot, pseudorandom sequence, or frequency offset. Each signal may carry different information that, once extracted, may identify the transmitter that transmitted the signal, ranging information that is used to measure a distance to the transmitter, and other information.

By way of example, various aspects that relate to signaling and positioning of a receiver based on signaling from transmitters, in a wide area network of transmitters are described in co-assigned U.S. Pat. No. 8,130,141, issued Mar. 6, 2012, entitled WIDE AREA POSITIONING SYSTEM, and co-assigned U.S. patent application Ser. No. 13/296,067, filed Nov. 14, 2011, published as 2012/0182180 on Jul. 19, 2012, and patented as U.S. Pat. No. 9,057,606 on Jun. 16, 2015, entitled WIDE AREA POSITIONING SYSTEM, which are incorporated by reference herein in their entirety and for all purposes, except where their content conflicts with the content of this disclosure.

FIG. 2 illustrates details of a receiver system 220, at which signals from transmitters may be received and processed to extract information used to compute an estimated position of the receiver system 220. The receiver system 220 may include any of a variety of electronic devices configured to receive RF or other signaling using wireless means (radio frequency, Wi-Fi, Wi-Max, Bluetooth, or other wireless channels as known or later developed in the art), or wired means (e.g., Ethernet, USB, flash RAM, or other similar channels as known or later developed in the art). Each receiver system 220 may be in the form of a cellular or smart phone, a tablet device, a PDA, a notebook or other computing device. It is noted that User Equipment (UE), Mobile Station (MS), User Terminal (UT), SUPL Enabled Terminal (SET), Receiver (Rx), and Mobile Device may be used to refer to the receiver system 220. As shown, RF component 223 may control the exchange of information with other systems (e.g., satellite, terrestrial). Signal processing may occur at a satellite component 224, or a terrestrial component 225, which may use separate or shared resources such as antennas, RF circuitry, and the like. One or more memories 222 may be coupled to a processor 221 to provide storage and retrieval of data and/or instructions relating to methodologies described herein that may be executed by the processor 221. The receiver system 220 may further include one or more sensors 227 for measuring environmental conditions like pressure, temperature, humidity, acceleration, direction of travel, wind force, wind direction, sound, or other conditions. The receiver system 220 may further include input and output (I/O) components 228 and 229, which may include a keypad, touchscreen display, camera, microphone, speaker, or others, which may be controlled as known in the art. It is noted that the receiver system 220 may be implemented by the receivers 120 described herein, which may alternatively take on other forms as known by one of skill in the art.

FIG. 2 further illustrates details of a transmitter system 210 at which signals may be generated and transmitted. The transmitter system 210 may include a processor 211 that carries out signal processing (e.g., interpreting received signals and generating transmission signals). One or more memories 212 may provide storage and retrieval of data and/or executable instructions for performing functions described herein. The transmitter system 210 may further include one or more antenna components (e.g., a satellite antenna or terrestrial antenna) for transmitting and receiving signals, a satellite RF component 214 for receiving satellite signals, from which location information and/or other information (e.g., timing, dilution of precision (DOP), or other) may be extracted, a terrestrial RF component 215 for receiving signals from a terrestrial network, and/or for generating and sending output signals, and an interface 216 for communicating with other systems. The transmitter system 210 may also include one or more environmental sensors 217 for sensing environmental conditions (e.g., pressure, temperature, humidity, wind, sound, or other), which may be compared to such conditions as sensed at a receiver in order to estimate a position of the receiver based on similarities and differences between the conditions at the transmitter system 210 and the receiver. It is noted that the transmitter system 210 may be implemented by the transmitters described herein, which may alternatively take on other forms as known by one of skill in the art. Each transmitter system 210 may also include various elements as are known or later developed in the art for sending/receiving signals to/from the antennas, including analog or digital logic and power circuitry, signal processing circuitry, tuning circuitry, buffer and power amplifiers, and such.

Other components in FIG. 2 are described later in relation to particular embodiments.

OVERVIEW OF VARIOUS EMBODIMENTS

Various embodiments relating to the use of two-dimensional (2D) or three-dimension (3D) position estimates to improve location services may be implemented in the environment 100. Certain embodiments, which are disclosed in further detail below, include: 3D location detection in outdoor and indoor environments; a user interface for providing a map that auto-rotates on a screen of a receiver depending on the heading of the receiver in an environment; cues provided to a user when navigating through an environment using a map displayed on a screen of a receiver; indoor map loading at an accurate floor level based on the position estimate; enabling/disabling applications based on position estimate; enhancing/filtering estimates of a receiver's position (also referred to herein as a “position estimate” or “position fix”) using sensor measurements (e.g., measurements of motion); estimating heights of floors, things or places in a building using crowd-sourced altitudes from position estimates; determining if a receiver is inside or outside of a building; using data corresponding to buildings in urban environments (e.g., address, reverse geo-code, height, number of floors, heights of floors, atmospheric conditions, information relating to places/things inside the building, and other measurable or quantifiable information); providing indoor and outdoor location services relating to a user's 3D location, which may be particularly useful for a range of location services (e.g., mapping of unknown characteristics of environments, providing navigation, finding things, sending targeted advertising). Various enhancements to mobile applications using position estimate are described in further detail below.

User Interface (UI) with Map Application Auto-Rotate Feature

Various location services allow map applications to plot a user's current location on a displayed map. Many of these map applications fail to help users navigate outdoor or indoor environments by providing mapped information along a heading direction of the user. Maps presented in known user interfaces are usually oriented in a fixed direction, which can disorient a user when the direction of the user's heading does not align with the orientation of the map. Unfortunately, the user often must manually rotate his or her phone.

These problems are solved by tracking position estimates over time to determine a direction of travel, and/or by confirming or modifying that direction of travel using sensed motion. Once a direction of travel is known, an orientation of a map can be auto rotated on a screen (with suitable manual override to disable this feature) such that the map orientation on the screen is matched to the direction of heading. Motion may be sensed in various ways, including by inertial sensors (e.g., gyroscopes, accelerometers, compasses, and other sensors configured to determine orientation, direction of travel and speed of travel). Other components may also be used to “sense” motion relative to some local area transmission component at known locations (e.g., RFID sensors, local area beacons, and the like), where reception of signals between a receiver and transmission component(s), strength of signals and/or trilateration using multiple the signals from multiple transmission components can be used to determine the direction of a user's heading as the user approaches or moves away from those transmission components.

Auto-Rotation

FIGS. 3A-B and FIG. 4 illustrate an auto-rotation process. FIGS. 3A-B depict a screen 321 that displays maps 322 a and 322 b at two instances in time (e.g., Time 1 and Time 2). FIG. 4 illustrates a process for determining how to display the maps 322 a-b at the two times. An estimate of a receiver's position at time t(n) is determined (410). A map tile for the location of the estimated position is loaded (420). Direction information of the map tile (e.g., map information direction layer) is used to orient the map tile in a set/pre-determined orientation (430). For example, the map tile may be oriented in a northern direction. A heading at time t(n) is determined (440). For example, a heading may be determined using position estimates between times t(n) to t(n-k), where k can be any number (e.g., 10 position estimates). A compass direction may also be used. Additional details regarding how a heading may be determined are provided later. A visual mark (e.g., an arrow) may be overlaid on the map tile in the direction of heading on the current position estimate relative to the set/pre-determined orientation of the map (450). The orientation of the screen may be determined (e.g., landscape/portrait) (460). Then, the map and the arrow are rotated in concert such that the arrow is facing the main orientation of the screen (470). Operations 410-470 may be repeated for heading and position estimates at subsequent times.

Of course, there are other ways to determine how to display the maps 322 a-b. At the first instance in time (Time 1), an estimate of a receiver's position and a heading are determined. The location of the position estimate in a geographic area is then determined, and a map corresponding to that location in the geographic area is identified. Orientations of the map relative to the heading and a screen of the receiver relative to heading are then determined. Finally, the map is displayed on the screen such that the orientations of the map and the screen align along the heading. The previous operations may be repeated for heading and position estimates at subsequent times (Time 2).

Heading

The heading may be determined using various techniques, where the heading may be provided to a map application that performs the auto-rotation method from above. The heading may be absolute (e.g., based on Northern, Eastern, Southern and Western directions) or relative (e.g., directionally relative to a past, current or future location on a map). The heading may be computed by a processor (e.g., the processor of the backend system 130 in FIG. 1, or the processor 410 of FIG. 4), and various applications may access the computed heading (e.g., via SDK that an application developer may obtain from a network operator).

In one approach, consecutive position estimates are determined over a period of time. The heading may be computed by accumulating a set of position estimates (e.g., ten previous position estimates) using corresponding pseudo-ranges to create a time-sequenced location vector. The changes in pseudo-ranges that correspond to the same transmitter may be determined, and relative changes may be evaluated (e.g., where decreases or increases in range towards a transmitter will result in a “direction vector” corresponding to that transmitter). Since the location of the transmitter is known, the processor (e.g., a position engine) uses the location of the current position estimate, along with the locations of the transmitters and their direction vectors, to determine an angle/direction of heading relative to each transmitter. The headings for each transmitter may then be combined to determine an overall heading. Additional sensor inputs may also be used (e.g., measurements from a compass, an accelerometer, a gyroscope and/or other inertial sensors) to fine tune the heading. Once the heading is determined, a message that includes the heading may be generated and sent to different applications.

Cues to External Device

Mobile applications work well in stationary environments where the user can give the screen their full attention, however mobile applications do not work well when the user is in motion and taking cues from or otherwise reacting to the physical and virtual environment around the user. When a user is “on the move”, it may be far better for the user to get complementary cues from the receiver (e.g., the receiver system 220 of FIG. 2). Such outputs may include visual outputs (e.g., video or pictures via display, changing states of lights), haptic outputs (e.g., via vibration), and audio outputs (e.g., via speaker) at the receiver—e.g., from the local outputs 229 shown in FIG. 2. Alternatively, such outputs could emit from an auxiliary assistance system 270 (see FIG. 2) as further described below.

As shown in FIG. 2, the receiver system 220 may be connected to an auxiliary assistance system 270 such as a watch, goggle, wrist band, or other device. The connection may be over a short range communication link such as Bluetooth, Zigbee, a cord or other link, and may be automatic or user-activated. Once connected, an application may be launched on the receiver system 220, and important cues may be sent to the auxiliary assistance system 270 through respective interfaces 226 and 276. Alternatively, information may be collected at the auxiliary assistance system 270 (e.g., using sensors 277) and sent to the receiver system 220 for processing and cue generation.

One embodiment relates to a navigation application where the user gets routed from point A to point B. In this scenario, the receiver system 220 and auxiliary assistance system 270 establish a connection, and the receiver system 220 launches a navigation application at point A. The receiver system 220 then generates signals that are intended to control some output from the receiver system 220 or the auxiliary assistance system 270 to provide information/cues to the user (e.g., direction from point A to B with respect to obstructions between the points, location of other users or places of interest along one or more potential pathways between point A and point B, and the like). Such cues may take the form of audio cues, visual cues or haptic cues indicating turns. This allows the user to navigate without looking at the receiver system 220 or the auxiliary assistance system 270. The auxiliary assistance system 270 may also receive indications about other receiver notifications (e.g., received call, email, SMS).

Indoor Map Loading at Correct Floor Level

In accordance with certain aspects, an indoor location service allows map applications to plot a user's current location on an indoor map. However, indoor maps of many buildings have multiple floors and the user typically has to manually select the floor level to view the correct map of the floor in which they are present. Instead of manual selection, an altitude of a position estimate can be used to look up a floor level in a database that has the mapping of each floor level. Then, after identifying the floor level, an appropriate map corresponding to that floor may be loaded with appropriate manual overrides in case the user wants to see the map of another floor of the building. The building identity for the floor-level matching may be performed by reverse geocoding the position estimate that includes latitude and longitude.

By way of example, FIG. 5 depicts a method for identifying a map corresponding to a floor level of a building. Initially, the latitude, longitude and altitude (LLA) of a receiver is determined (510). Based on the LLA, the building is identified from among other buildings (520). The building may reside at or near the latitude and longitude, and may have a height that is at least as high as the altitude. Optionally, a floor level of the building is determined based on the altitude (540). Each floor level in the building may be associated with a particular height, which can be looked up in a database. A map of a floor that corresponds to the floor level/altitude may be accessed and later displayed on an output of the receiver (or auxiliary assistance system 270) (550).

Enabling/Disabling Applications Based on Indoor 3D Location

Three dimensional position estimates can be used by software applications (e.g., MDM services) of a receiver to control that receiver. For example, such applications may enable/disable specific functions based on a comparison of the receiver's estimated position and three-dimensional or two-dimensional geo-fences that specify rules that control operations of the receiver when it resides in the geo-fenced area. A remote server may send, to each application on the receiver, appropriate permissions to either be enabled or disabled based on the position estimate of the receiver relative to the geo-fence. It is understood that other location technology can also be used to track the estimated position of the receiver relative to the geo-fence.

In an enterprise setting, specific access to data by certain applications can be enabled or disabled based on the receiver's location within the enterprise (e.g., a particular area of a floor in an office building). This can allow enterprises to ensure that sensitive data may be accessed on devices only when they may be within certain areas of the office/floor/building. It can also be used to turn off power-hungry applications when features of those applications are unusable at the user's current location. Similarly, entry into a geo-fenced area may permit a receiver to access information that is otherwise unavailable (e.g., sensitive, marketing, or other information).

By way of example, FIG. 6 depicts positions of a receiver 620 relative to a geo-fence at Time 1, Time 2 and Time 3 in a building 690. As shown, the receiver 620 moves from a first altitude at Time 1, to a second altitude at Time 2 (at which a geo-fence is established), and eventually to a third altitude at Time 3. At Time 1 and Time 3, the receiver 620 may operate in a first state (e.g., software application may run, data is not accessible). At Time 2, the receiver 620 may operate in a second state (e.g., software application may not run, data is accessible).

Filtering Position Estimates Using Other Sensor Input at a Receiver

In many location services, like GPS, one of two consecutive position estimates may be inaccurate. Occasionally, one of the consecutive position estimates can land quite far off from the receiver's location. In some cases, the two position estimates are different even though the receiver has not moved. Thus, it would be helpful to determine which of the two position estimates are inaccurate, which can be achieved using a software application that uses input from other sensors on the receiver to estimate if the receiver has actually moved a distance separating a first position estimate and a second position estimate. The distance may be computed by comparing latitude, longitude and altitude of the two position estimates. Movement by the receiver may be detected by any number of means that are known in the art, including inertial sensors that track motion in terms of direction and speed (e.g., accelerometers, gyroscopes and others). The distance moved (as sensed by the sensors) can be compared to the distance separating the first and second position estimates. Of course, a similar approach may be taken to with more than two position estimates.

In one embodiment, filters and thresholds are used to estimate if a subsequent position estimate is accurate. For example, when a threshold distance between consecutive position estimates is reached (e.g., 5 meters, 10 meters, 50 meters or some other distance that is dependent on precision required by a location service), a software application checks measurements from a sensor at the receiver to determine if the receiver moved, and to determine if the receiver moved the threshold distance or if the amount of movement is within some threshold value of the difference between the two position estimates. If movement over the threshold distance has occurred, or if the amount of movement is within the threshold value of the difference, then the second position estimate may be used as current location of the receiver. If the sensor input indicates that the movement over the threshold distance has not happened, or if the amount of movement is not within the threshold value of the difference, then the second position estimate may be discarded, and the current location may not be changed/updated from the first position estimate.

By way of example, FIG. 7 depicts a method for using sensed movement to confirm whether a position estimate is accurate. At a first instance in time, a first estimate of a receiver's position is determined using a first set of range measurements from a network of transmitters (710). At a second instance in time, a second estimate the receiver's position is determined using a second set of range measurements from the network of transmitters (720). The difference between the first and second position estimates is measured in terms of magnitude and direction (730). In some embodiments, the measured distance is compared to a threshold value of distance to determine if the difference is greater than the threshold value. When the distance is greater than the threshold value, a measurement of distance moved between Time 1 and Time 2 is estimated using inertial sensors of the receiver by means known in the art (e.g., tracking velocity, which has magnitude and directional components) (740). In alternative embodiments, the comparison of the difference to the threshold value may be skipped, but the sensed measurement of distance moved between Time 1 and Time 2 is still estimated. The sensed distance may be compared the threshold value of distance, or to the difference between the position estimates at Time 1 and Time 2 (750). When the sensed distance is less than the threshold value or not within a predefined amount of distance from the measured difference, the second position may be ignored (760). When the sensed distance is greater than the threshold value, or within the predefined amount of distance from the measured difference, the second position may be used (770). Of course, a similar approach may be used to identify the first position estimate as inaccurate, and a similar approach may be used to identify one of three or more position estimates as inaccurate

Application to Crowd-Source Elevation to Floor-Level Data Mapping

Attention is now drawn to FIG. 1 to illustrate aspects of the following disclosure related to crowd-sourced mapping of floor levels in a building (e.g., the building 190 a with n floors designated by n altitudes). It is to be understood that discussion related to mapping of floor levels may extend to mapping of anything at different heights within a building—e.g., locations of places like businesses, and locations of things like objects or people—where the heights are associated with those places or things. It is also noted that similar mapping may be made in relation to latitude and longitude.

One approach to mapping heights is to manually measure each building to find out the height of each floor in a building. This is usually accomplished with a tape measure or other measurement tool. While this method may be accurate in capturing the elevation to floor-level mapping, it may be time consuming and labor intensive. An easier method is to map individual floor levels (or things/places) using crowd-sourced altitude computations associated with different positions of receiver(s). The altitudes may be stored in the data source of the backend system 130, and the processor of the backend system 130 may map particular altitude values, usually in meters (Height Above Ellipsoid or Mean Sea Level), to particular floors of a building 190. Various methods for estimating the altitude of a receiver are known, including those methods discussed in U.S. patent application Ser. No. 13/296,067, filed Nov. 14, 2011, published as 2012/0182180 on Jul. 19, 2012, and patented as U.S. Pat. No. 9,057,606 on Jun. 16, 2015, entitled WIDE AREA POSITIONING SYSTEM, which is incorporated by reference herein in its entirety and for all purposes. In addition to altitude, estimates of the receiver's latitude and longitude coordinates may be recorded and used to identify the building within which the receiver resides. Alternatively, the building may be identified when the presence of the receiver in the building is detected (e.g., as it passes through a geo-fence of the building). Yet another approach to determine that the receiver is in a building is to compare the estimated altitude to maximum height of buildings, and ignore buildings with heights below that altitude. One of skill in the art will appreciate other approaches for determining that a receiver is in a particular building.

In some embodiments, the user may be also asked to input, into the receiver, the floor level at which that user resides. The floor level may then be correlated to the altitude that is computed for that receiver. The building's reverse geocoded address may also be determined based on user input or based on the latitude and longitude of the estimated position. Data collected or otherwise determined at the receiver may be sent to a remote database for storage (e.g., the data source at the backend system 130), thus enabling later use of the stored data.

In one embodiment, once at least two or more corroborating readings for approximately the same LLA are obtained, then a mapping of the altitude to a particular floor level of a particular building may be used for reference by other applications. The floor-level-to-altitude mapping data can also be given a confidence level based on the amount of corroborating data.

In some embodiments, multiple altitude computations from the same receiver or multiple receivers may be determined over time (e.g., altitudes corresponding to receivers 120 a-c in FIG. 1, or altitudes corresponding to the receiver 120 in FIG. 6). Groups of computed altitudes that that cluster together (e.g., within 1 meter of each other) may corroborate an assumption that those altitudes are associated with the same floor in a building. Floor heights for a building may then be inferred from the altitudes for different groups.

In some cases, altitudes for different groups may be compared to assign altitudes to particular floors. For example, if computed altitudes include 0 meters, 3 meters, 6 meters, 9 meters and 12 meters, as reported at the server from multiple receivers and over multiple days for the same building, it may be determined that the building includes at least 5 floors with separation of 3 meters between floors.

It may also be determined that certain heights corresponding to certain floors have not been collected, as may be determined when computed altitudes in ascending order are not separated by approximately the same distance (e.g., within 1 meter of the most common distance of separation between altitudes or an average distance of separation between altitudes). Under this scenario, heights and floors may be inferred by the shortest distance separating two groups. For example, if the computed altitudes include 0 meters, 3 meters, 6 meters, 9 meters, 15 meters and 21 meters, then 12 and 18 meters may be assigned to fifth and seventh floors, respectively, and the computed altitudes may be assigned to the other floors (e.g., 0, 3, 6, 9, 15 and 21 meters to floors 1, 2, 3, 4, 6 and 8). Using FIG. 1 as an illustration, altitudes of the receivers 120 a, 120 b and 120 c in the building 190 a may be mapped to floors n, 3 and 2, respectively. However, the altitudes for floors between floor 3 and floor n may not be known. Since the difference between floors 2 and 3 is known, and the distance between floors 1 and 2 may be determined using knowledge of street-level altitude to infer the altitude of the first floor, the most common separation between floors can be determined, and used to infer the heights of floors between floor 3 and floor n.

Over time, adjustments may be made as additional altitude computations are received. For example, if at a first instance of time, the computed altitudes include 0 meters, 6 meters, 12 meters and 18 meters, then it may be inferred that the building has at least four floors that are separated by at least 6 meters. However, once a computed altitude of 3 meters is received, then the assumed heights of floors may be adjusted to 3 meters, and the number of floors may be set at 7 floors or more. With reference to FIG. 1 as an illustration, using only altitudes of the receivers 120 a and 120 b may result in an initial assumption that each height between the floors in the building 190 a is no more than the difference between altitude 3 and altitude 1, instead of the difference between altitude 2 and altitude 1 or altitude 3. However, once the altitude of receiver 120 c is received, the initial assumption may be adjusted such that the height between the floors in the building 190 a is based on the difference between altitude 2 and altitude 1, and/or the difference between altitude 2 and altitude 3.

Inaccurate assumptions of floor height may also be detected and refined. If computed altitudes include 0 meters, 3 meters, 7 meters, 9 meters and 12 meters, it may be determined that the 7 meter height of the third floor is inaccurate, and the height of the third floor may be adjusted to 6 meters since the average difference in heights between neighboring floors is close to 3 meters. One way of detecting an inaccurate height involves a calculation of the average separation between neighboring floor levels, or the most common separation between neighboring floors. The computed separation can then be compared against separation between different pairs of floors, and adjustments may be made when the separation between two pairs of floors is greater or less than the computed separation by some threshold amount (e.g., 0.5 meters). Also, amounts of separation below and above a floor may be compared, and the average of those two amounts may be used to adjust the height of the floor so that the separation amounts below and above the floor are equal. Thus, the 7 meter height is adjusted to 6 meters.

In some cases, a confidence level is associated with a height assigned to a floor, or to amounts of separation between floors. The confidence level can be related to the number of computed altitudes that have been collected for a particular range of heights, where the greater number of collected heights produces a higher level of confidence. Referring back to the previous example, the confidence level for 7 meters may be low when an amount of heights that have been collected fall below a threshold number, which may explain why the height is 7 meters, not 6 meters. By comparison, the confidence levels for 3 meters and 9 meters may be high when greater than the threshold number of heights have been collected. Under such circumstances, it may be determined that the 7 meter height of the third floor is more likely to be inaccurate than the other heights corresponding to other floors based on the confidence levels for each height/floor. Amounts of separation below and above the 7 meter height may also be associated with a low confidence value, at which point those amounts of separation may be weighted less than other amounts of separation when a weighted average of separation between neighboring floors is determined.

Of course, additional sources of information may be used, including public records that specify numbers of floors, and user information that associates a floor number to a venue on that floor (e.g., an employee or customer of a business on a particular floor). The additional sources of information may be used to further refine estimated heights of floors. Also, using corroborated groupings of altitudes is not required, and single altitude estimates may be used.

By way of example, FIG. 8 depicts a method for crowd-sourcing altitude estimates for the purposes of mapping floors, things, or places in buildings to those altitudes. Initially, groups of estimated altitudes are identified (810). For example, a group may be formed by estimated altitudes that are within x units of each other (e.g., 1 meter). A height corresponding to each group may be identified (e.g., by performing a mathematical operation on the group of estimated altitudes, like computing an average or determining the most common altitude). Each group height may be mapped to different floors, things, or places in building (820). The mapping may relate different heights to each other. For example, a difference between floors in a building may be identified as the most common difference in height between consecutive heights. Input that identifies the floor level may alternatively obtained from a user of the device, or by determining that receivers in a group are within range of a local beacon that is located at that floor level (e.g., the network node 160 in FIG. 1). Once heights of certain floors are known, the heights of other floors can be estimated when no group altitudes are available (830). For example, the heights may be determined based on height differences between other floors, where the height difference is projected up or down from mapped heights. Mapped heights may also be adjusted (840). For example, where a mapped height is not at an expected height, that mapped height may be adjusted to be closer to or at the expected height. The expected height may be determined in a similar manner as the estimated floors from operation 830.

3D Inside/Outside Location Detection

Using position estimates alone may make it difficult to programmatically determine if the receiver/user is within a building, outside a building, or at an adjacent building. This is partly because position estimates are often inaccurate by some amount of distance from the true position of a receiver. However, assistance information may be used along with the position estimate to determine a likelihood that the receiver's true position is inside a building, outside a building, or in an adjacent building. The same is true of determining a likelihood that the receiver's true position is inside a particular area of a building, outside that area, or in an adjacent area. Such determinations are particularly advantageous for large buildings with many areas (e.g., shopping malls), small neighborhoods, and the like. For simplicity, discussion below is provided in relation to building(s). However, the discussion extends to area(s) within a building, area(s) within a neighborhood, or area(s) within some other localized area.

Certain embodiments use a method to determine if a receiver is within a building (e.g., the receiver 120 c inside the building 190 a), if a receiver is just outside the building (e.g., the receiver 120 d outside the building 190 a), or if a receiver is in an adjacent building (e.g., the receiver 120 e in the building 190 c). The location may be determined based on a current position estimate of the receiver and assistance information associated with the building(s), as accessed from a data source (e.g., from the backend system 130).

Determining the location of the receiver, relative to a building or buildings, may be accomplished by the use of a SDK and API at the receiver. The SDK obtains the current position estimate of the receiver. The SDK uses a standard-defined API to send the current position estimate and, if available, a unique identifier of a detectable area within a building (e.g., a venue, floor, and the like) to a remote server (e.g., the backend system 130). The remote server responds to the SDK via the API in a standard data structure to indicate if the position estimate is within the building, outside the building, or at an adjacent building. Reverse geocode information corresponding to the building(s) may also be provided.

When a three-dimensional position estimate is sent to a remote server via a standard API, the remote server compares that position estimate against a set of pre-built 3D geo-fences for a building (e.g., maximum geographical boundaries of the building or areas inside the building in terms of latitude, longitude and altitude). By way of example, a geo-fence at altitude 2 in building 190 c is shown in FIG. 1. A programmable parameter related to a relative distance of the position estimate to the pre-built geo-fence can be used to determine if the position estimate is in the building (e.g., the building 190 c), in an adjacent building (e.g., the building 190 a), or outside those buildings. Such a parameter may include a threshold amount of distance that is compared to the relative distance.

Relative distances from multiple beacons/geo-fences in neighboring buildings may be used to determine if a receiver is more likely to be in one of the buildings or in between the buildings. For example, if the position estimate is closer to a first geo-fence in a first building than a second geo-fence in a second building, then it may be determined that the receiver is within the first building. Or, if the position estimate is approximately (e.g., within a few meters) the same distance away from the first geo-fence and the second geo-fence, then it may be determined that the receiver is in between those buildings (i.e., outside of those buildings). In this way, relative distances between two buildings can be determined.

In alternative embodiments, height envelopes of buildings (or accessible floors in buildings) may be compared to the estimated altitude of a receiver to determine if the receiver is inside or outside that building. For example, if two buildings are adjacent to each other, where a first building is shorter than the altitude, and a second building is taller than the altitude, it can be determined that the receiver is in the second building. By way of another example, if both buildings are taller than the altitude, but the altitude corresponds to an inaccessible area of the first building (e.g., a secure floor), it is determined that the receiver is in the second building.

By way of yet another example, an identifier received from a local area network associated with a particular venue (e.g., a coffee shop, a business, and the like) can be used to look up that network in a database, and then look up the building (or area of a building) that houses that venue. Similarly, an identifier received from a short-range communication link provided by a user device (e.g., a hot spot or other identifiable signal) can be used to look up that user device in a database, and then look up the building (or area of a building) where that user device is typically present, or identify where that user device is not typically present.

Historical locations of the receiver may be tracked and associated with particular buildings or heights in areas of a city. The historical locations can be used to determine how likely the current location of the receiver is in a particular building/area. For example, knowledge that a receiver is regularly located in a building on certain days and at certain times can be used to identify that building as the most-likely location of the receiver, from among other nearby locations. Movements among buildings can also be tracked and used to determine that the receiver has exited the building through a geo-fence. Additionally, knowledge of a user's calendared events may be correlated to buildings and times, and then used to determine whether the user is indoors or outdoors based on the location and time of the event.

The determinations may be performed on the remote server, on the receiver, or both. The response may be in some coded form that conveys one of the following relationships: “The position estimate (or actual location) is within a first building-address/name, confidence level”; “The position estimate (or actual location) is outside/near the first building address/name, confidence level”; and “The position estimate (or actual location) is in an adjacent building address/name, confidence level”. The confidence levels may be related to the relative position/distance of the position estimate to the relevant pre-built geo-fence(s), such that a higher confidence level will be given when position/distance of the position estimate is within some maximum threshold distance from the pre-built geo-fence(s), or separated by some minimum threshold distance from the pre-built geo-fence(s).

It is noted that the above approaches can be similarly applied to estimating a floor or area, from among multiple floors or areas, at which a receiver likely resides.

Web-Based Services & Analytics Regarding Environmental and User Information Web Service

Various embodiments operate in association with a multi-tier (e.g., 3-tier) cloud-based service. Other non-cloud based services may similarly be used. For example, one component of the cloud based service may include a data source (e.g., a building database or database of building information) built on a database software system such a as SQL-MySQL, NoSQL-Hadoop, or other technology. The data source may have a defined data structure/schema that identifies each building using, among other things, a building identifier, an address, latitude/longitude/altitude (LLA) coordinates, a LLA-based envelope of the building, or other unique identifier. The data may further identify the contents or other characteristics of each building—e.g., floors, venues within the building, atmospheric conditions on a per-time basis, and other contents or characteristics. Other components of the cloud based service may include: middle-ware business-logic implementation to manipulate the data in the building database and to monitor access to the web service; and front-end interfaces to interact with the building-database and the middle-ware business logic.

Data

The building database may store various types of data. For example, data may represent an indoor map of every floor of a building including any sub-structures or venues (e.g., stores within a mall, commercial or residence units in a high-rise building). The data may map (or otherwise associate) floor levels to altitudes, or ranges of altitudes that correspond to different floors of the building. For example, the value of the altitude may be based on either imperial or metric systems of measurement in either Height Above Ellipsoid (HAE) or Mean Sea Level (MSL) formats, or both.

The database may also store an RF-signature of every floor (or sections of each floor). The RF-signature can be obtained by either surveying the area of that floor (e.g., as shown in the building 190 b of FIG. 1), or crowd-sourcing the RF signatures over a period of time. The RF-signature may characterize each available signal in that area based on detectable signal properties. For each area, the database may also store pseudoranges for each signal, signal-to-noise ratio or other indication of signal strength for each signal, and/or an indication that the signal is a multipath signal.

Data representing one or more pre-built 3D geo-fences for each building, floor or thing/place may be stored. Each geo-fence may be based on the geographic perimeter of the building, spaces within a building (e.g., store/shop within a mall, floor space), or proximity to a thing or place. For example, a geo-fence may designate a range of coordinates along the boundary of the geo-fence. In this manner, the geo-fences may be defined in three dimensions. A fourth dimension of time may also be used to indicate when a particular geo-fence changes one of its characteristics (e.g., for multipurpose areas, or areas that have scheduled changes to an associated characteristic like occupancy). With prebuilt geo-fences, whether a particular position coordinate (e.g., some or all of latitude, longitude, and altitude) falls within or outside of physical boundaries of a building, floor, or venue can be determined.

Accuracy of the data during collection or storage can be determined using various approaches (e.g., based on age, quality, relevance, correlation, and other considerations). For example, data may be tracked over time for changes, newly collected data may be correlated to stored data, the relevance or quality of data may be estimated and represented as a stored relevance or quality metric value, the age of data may be tracked and stored, or other analysis may be performed to evaluate the data before its use.

Of course, known mechanisms to add data to the database either manually or programmatically are contemplated.

Middleware

Middleware business logic may contain several features. For example, the middleware may have the ability to: process API requests from receivers; verify the Developer API Keys and take appropriate action if the key is valid or invalid; enforce business rules on usage of the API; and monitor the rate of usage of the database by the receiver on a per receiver, per developer, per user, or per key basis.

The middleware may also compare a position estimate corresponding to a receiver in the form of latitude, longitude, and latitude, or pseudo-ranges obtained from the receiver, against pre-built geo-fences to provide triggers such as “within a geo-fence”, “outside-a-geo-fence”, “number of times traversed a geo-fence”, and others. The middleware may determine and provide such triggers to specify if an estimated position is within, outside and adjacent to a building. The middleware may include predictive software functions that can estimate error associated with an estimated position, any stored data or the estimated position's relationship to the stored data, and then assign a confidence to the presence of the receiver within a building or in a building adjacent to it.

The middleware may include filtering mechanisms to discount the presence of a device's estimated position within a building if the altitude component of consecutive estimates of the receiver's position is consistently (for a programmable period of time) at a height where the building has no floors, or where a user of the device is not authorized.

The middleware may include an ability to import altitude to floor-level data and store it into the building database. The middleware may further include an ability to reverse geocode the floor-level of a building based on the altitude in either HAE or MSL formats.

Front End

Front-end interfaces of the building data web service may contain various features. For example, the front end may include: an admin console user interface (UI) and Admin-APIs with role-based access that allows the data in the building database to be manipulated; a set of defined API methods with requisite access restrictions via developer keys to allow customers/user to programmatically access the information contained in the building database or the results of the computation performed by the middleware business logic layer/engine; a customer account portal to allow the users/customer to manage their accounts, billing, rate limits and more; and other features.

Indoor Map

An indoor map web service may include a specialized interface into the building data web service that allows the entire or portions of an indoor map corresponding to a building or group of buildings to be made available on a web browser or other application (e.g., for E-911 dispatching, building management, enterprise mobility/service management). In some embodiments, an indoor map web service is integrated by a solutions provider for the various verticals such as E-911 consoles, building management software systems, receiver management systems, commercial LBS systems, independent developers and applications.

Analytics

A location analytics system may be configured to interface with the building data web service using its own multi-tier cloud server architecture. The location analytics system may contain various components, including: a location analytics database; middleware business logic; and front-end interfaces for interactions between users and the analytics system.

Data

The location analytics database may store different types of data, including: meta-data about the buildings in the building database including elements such as address, number of tenants in the building, tenant information, tenant category, building statistics and more; temporal data about buildings (e.g., such as events happening in a building, heat-mapping of building); spatial data (e.g., climate/weather, geographical location, season, demographic trend and more); pre-built path information (e.g., which may string together meta-data, temporal data and spatial data for a set of buildings with its associated geo-fences to create a “path” that represents a reference lifestyle for a user type); lifestyle profile data (e.g., specifying demographic or interest information about users like a relationship relative to other people like being a mom, an occupation or role like student or engineer, an age group like 20-something, a hobby or interest like being a sports fan or an outdoor enthusiast); user profile data (e.g., gender, age, friends, family); device characteristics (e.g., model, OS, operator); historical path information of individual assets/users with appropriate privacy protections and non-identifiable markers; historical location information about each device (e.g., based on the device's unique identifier); and others.

Middleware

The middleware business logic engine may implement several features, including: an ability to reverse geo-code locations within a building based on estimated positions obtained from a receiver using the location analytics database and the building database; and typecast/profile a user's behaviors based on their path information (e.g., where the user has traveled with the receiver) and comparing it to pre-built path-profiles and their own historical path information with built-in filtering to minimize variance. The typecast/profile of a user can be based on that user's estimated position (or set of estimated positions over time). It may be used for a variety of applications, such as an ability to connect with an advertisement network to obtain and target highly relevant and hyper-local mobile advertisements, where the level of relevance may be obtained by the combining or correlating location analytics (e.g., path/lifestyle profile, building meta data, user profile, device characteristics and more). A messaging platform may be used to convey an advertisement and other notifications to the user's receiver (e.g., pushed to a user based on user permissions).

Front End

The front-end interfaces of the building data web service may contain several features, including: an admin console UI and Admin-APIs with role based access that allows the data in the building database to be manipulated; a set of defined API methods with requisite access restrictions via developer keys to allow customers/user to programmatically access the information contained in the building database or the results of the computation performed by the middleware business logic layer/engine; a customer account portal to allow the users/customer to manage their accounts, billing, rate limits and more; and other features.

Altimeter-Based Approach for Determining Elevation

Methods for estimating the altitude of a receiver discussed in U.S. patent application Ser. No. 13/296,067, filed Nov. 14, 2011, published as 2012/0182180 on Jul. 19, 2012, and patented as U.S. Pat. No. 9,057,606 on Jun. 16, 2015, entitled WIDE AREA POSITIONING SYSTEM, which is incorporated by reference herein in its entirety and for all purposes, include the following methods. Excerpts from this application are provided below.

There is a standard formula for relating pressure to elevation, based upon the weight of a column of air, as follows:

${z_{1} - z_{2}} = {{- \frac{RT}{g}}{\ln \left( \frac{P_{1}}{P_{2}} \right)}}$

where z₁ and z₂ are two elevations, and P₁ and P₂ are the pressures at those elevations, and T is the temperature of the air (in K). R=287.052 m²/Ks² is the gas constant and g=9.80665 m/s² is the acceleration due to gravity. Note that this formula provides relative information, determining the difference in elevation for a difference in pressure. This formula is generally used with z₂=0, so that P₂ is the sea level pressure. Because sea level air pressure varies significantly with weather conditions and with location, the sea level pressure is needed in addition to the temperature and pressure at the site where elevation is to be determined. When applying standard atmosphere conditions, with T=15 C and P=101,325 Pa, it is found that a 1 m increase in elevation corresponds to a 12.01 Pa decrease in pressure.

The key to determining elevation of a remote receiver to 1 m accuracy is to have a system for providing reference pressure information that is local enough and accurate enough. It must be able to provide measurements that are close to the unknown location in temperature, and close in distance and time—to capture changing weather conditions; and finally, must be sufficiently accurate. Thus, an elevation determining system of an embodiment includes but is not limited to the following elements: a mobile sensor of the remote receiver that determines pressure and temperature at the unknown location of the remote receiver with sufficient accuracy; an array of reference sensors that determine pressure and temperature at known locations with sufficient accuracy, and are sufficiently close to the unknown location; an interpolation-based estimation algorithm which inputs all reference sensor data, reference sensor locations and other augmenting information, and generates an accurate reference pressure estimation at a location of interest within a network; a communications link between the reference sensors and the mobile sensors to provide the reference information in a sufficiently timely fashion. Each of these elements is described in detail below.

Generally, a reference elevation pressure system, or reference system, includes a reference sensor array comprising at least one set of reference sensor units. Each set of reference sensor units includes at least one reference sensor unit positioned at a known location. The system also includes a remote receiver comprising or coupled to an atmospheric sensor that collects atmospheric data at a position of the remote receiver. A positioning application running on a processor is coupled to or is a component of the remote receiver. The positioning application generates a reference pressure estimate at the position of the remote receiver using the atmospheric data and reference data from the reference sensor unit(s) of the reference sensor array. The positioning application computes an elevation of the remote receiver using the reference pressure estimate.

More specifically, the reference elevation pressure system includes a mobile sensor that determines pressure and temperature at the unknown location with sufficient accuracy, and the mobile sensor is a component of or coupled to the remote receiver. The system includes a reference sensor array that comprises at least one reference sensor unit that accurately determines pressure and temperature at a known location that is appropriate to a location of the remote receiver. The reference sensor units communicate with the remote receiver and/or an intermediate device (e.g., server, repeater, etc.) (not shown) to provide the reference information. The system comprises a positioning application that, in an embodiment, is an interpolation-based estimation algorithm which inputs all reference sensor data, reference sensor locations and other augmenting information, and generates a relatively accurate reference pressure estimation at a location of interest. The positioning application can be a component of the remote receiver, can be hosted on a remote server or other processing device, or can be distributed between the remote receiver and a remote processing device.

As described below, a wide area positioning system (WAPS) includes a network of synchronized beacons, receiver units that acquire and track the beacons and/or Global Positioning System (GPS) satellites (and optionally have a location computation engine), and a server that comprises an index of the towers. The system operates in the licensed/unlicensed bands of operation and transmits a proprietary waveform for the purposes of location and navigation purposes. The WAPS system can be used in conjunction with other positioning systems or sensor systems in order to provide more accurate location solutions. Note that the elevation of the remote receiver computed using the reference pressure estimate can be used either explicitly as an altitude estimate or implicitly to aid the position calculation in any position location system.

One example system integrates the reference elevation pressure system with the WAPS. Generally, the integrated system comprises a terrestrial transmitter network including transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information. A ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal. The system includes a reference sensor array comprising at least one reference sensor unit positioned at a known location. The remote receiver comprises or is coupled to an atmospheric sensor that collects atmospheric data at a position of the remote receiver. A positioning application running on a processor is coupled to or is a component of the remote receiver. The positioning application generates a reference pressure estimate at the position of the remote receiver using the atmospheric data and reference data from a set of reference sensor units of the reference sensor array. The positioning application computes the position of the remote receiver, which includes an elevation, using the reference pressure estimate and information derived from at least one of the positioning signals and satellite signals that are signals of a satellite-based positioning system.

More specifically, this integrated system includes a mobile sensor that determines pressure and temperature at the unknown location with sufficient accuracy. The mobile sensor is a component of or coupled to the remote receiver, but is not so limited. The system includes a reference sensor array that comprises at least one reference sensor unit that accurately determines pressure and temperature at a known location that is appropriate to a location of the remote receiver. The reference sensor units communicate with the remote receiver and/or an intermediate device (e.g., server, repeater, etc.) (not shown) to provide the reference information. The reference sensor units can be collocated with one or more WAPS transmitters and/or can be separately located at other known locations. The system comprises a positioning application that, in an embodiment, is an interpolation-based estimation algorithm which inputs all reference sensor data, reference sensor locations and other augmenting information, and generates a reference pressure estimation at a location of interest. The positioning application can be a component of the remote receiver, can be hosted on the WAPS server or other processing device, or can be distributed between the remote receiver and the WAPS server.

The mobile sensor should be able to determine pressure with a resolution and accuracy that is significantly finer than 36 Pa, Many pressure sensors have built-in temperature sensors in order to provide compensation for non-ideal sensor performance, but due to self-heating effects, these sensors may not provide a sufficiently accurate measure of outside air temperature. Even in cases where accurate sensors are not available commercially, if sensors with adequate resolution are available, they can be used for the purposes of altitude estimation at the floor level. The mobile sensor of an embodiment determines the reference pressure data with a resolution approximately less than 36 Pascal, and determines the temperature data with a resolution at least one of equal to and less than approximately 3 degrees Celsius.

These sensors have inherent short term and long term stability issues which may be corrected by modest filtering techniques such as averaging a few samples. Each sensor may also have an offset that may vary with temperature which needs to be calibrated or compensated by means of a look up table, for example.

With sufficient calibration, these sensors should provide the accuracy needed. Some sensors may also be sensitive to high rates of motion. Some heuristic rules may be used to limit use of pressure information when high velocities or acceleration are recognized. However, high velocities are rarely experienced in indoor environments. When traveling at high speeds, GPS positioning and map data will typically provide sufficient vertical position information.

It should also be noted that the sensor should be mounted in a manner that exposes it to outside air, but not wind, draft, or other air movement. A mounting or positioning internal to a typical consumer product should produce acceptable results. The battery compartment and connectors provide an indirect path for outside air to get to the sensor, while preventing any direct air movement. However, a water proof device would need special provisions to provide the sensor with access to the outside.

The reference sensors may be deployed in much smaller volumes, and at dedicated sites, so relatively better accuracy can be obtained in the reference system, making it possible to allocate the bulk of the overall error budget to the mobile sensors. Existing markets for absolute pressure sensors, such as weather and aircraft altimeters, do not have the same high accuracy requirements as the application of an embodiment. In the reference application, an embodiment uses multiple sensors, both for redundancy and for improved accuracy by averaging their measurements. In addition, the sensors may be packaged so as to limit the temperature range to which the sensor is exposed and optimally calibrate the sensor for this limited temperature range.

The reference system should average or otherwise filter individual measurements to improve accuracy with a time scale in the order of a few seconds to a few minutes. The height of the reference sensor should be measured to a ‘cm’ level accuracy; the outside air temperature should be continuously measured and logged; the sensor should be exposed to outside air in order to measure the air pressure, but must not be subject to wind, drafts, or other significant air movement (baffles or other packaging can be used to direct air along an indirect path to the sensor); the sensor should not be sealed in a water proof enclosure, as this can prevent measurement of outside air pressure. The reference sensor of an embodiment determines the reference pressure data with a resolution approximately less than 36 Pascal, and determines the temperature data with a resolution at least one of equal to and less than approximately 3 degrees Celsius.

An embodiment enables interpolation-based reference pressure estimation. Given the pressure and temperature measurements at each WAPS transmitter tower, as well as the tower location and other augmenting information, an embodiment predicts the sea level atmospheric pressure at the mobile user location as the reference value for user height estimation. Therefore, an atmospheric pressure surface gradient model is generated and the pressure measurements at each tower site serve as the sample data for local modification of the model. Therefore, this estimation algorithm calibrates comparable reference pressure accuracy at the user location as the direct measurements captured at the beacon tower.

A description of a formulation of this interpolation is described below. Within one of the WAPS network, given reference barometric pressure sensors at n transmitter towers, the equivalent sea level atmospheric pressure is estimated based on the reference sensor outputs. This is done in two steps, but is not so limited.

As a first step, given the reference sensor height h_(i) (in meters) above sea level at transmitter tower i, and the pressure p_(i) (in Pascal) and temperature T_(i) (in Kelvin) readings from the reference sensor, the equivalent sea level atmospheric pressure P_(i) (in Pascal) is calculated at location with latitude x_(i) and longitude y_(i) (in degrees), using the formula below:

$P_{i} = {p_{i}e^{\frac{{gh}_{i}}{{RT}_{i}}}}$

where g is the gravitational acceleration constant and R is the specific gas constant for air. As a second step, after calculating the equivalent sea level atmospheric pressures at all n transmitter locations of the WAPS network, and obtaining the latitude x₀ and longitude y₀ information of the user with WAPS, the equivalent sea level pressure is estimated at the user location P₀ with the formula below:

$P_{0} = {\sum\limits_{i = 1}^{n}\; {W_{i}P_{i}}}$

where W_(i)=W_(i) (x₀, y₀, x_(i), y_(i)) is the weighting function depending on both the user location and the reference site i location.

The communications link of an embodiment provides the information used by the mobile sensor. An embodiment broadcasts pressure updates once every few seconds to few minutes but is not so limited.

If the reference system broadcasts reference information infrequently, the mobile unit performs at least one of the following: continuously monitors the broadcasts to receive and store the last information in case it is needed before the next broadcast; waits for the next broadcast before computing a new elevation; “pulls” or queries the reference system for the latest information when needed. The Pull approach of an embodiment, rather than having the reference systems broadcast the information, minimizes system bandwidth. However, the Pull uses two-way communications between the reference system and the mobile, and since multiple reference sites would be used for any mobile calculation, so it requires the mobile to determine which reference sites it should query. A good compromise to minimize monitoring by the mobile, while keeping latency low, has the reference system broadcast its data more frequently than the time it takes to update the measurement.

An embodiment includes two possible approaches for the information content. A first approach has the mobile perform all of the calculations, in which case the information sent by the reference includes but is not limited to the following: reference location (latitude and longitude) with one meter accuracy; height of reference sensor with 0.1-0.2 m accuracy; measured temperature of air at reference site (after some filtering); measured pressure of air at reference site (after filtering, sensor temperature compensation, and any other local calibration such as offset), with one Pa accuracy; and a measure of confidence.

Alternatively, the reference site can use its temperature and pressure measurements to compute an equivalent sea level pressure. If this approach is used, the list of information to be broadcast includes but is not limited to the following: reference location (latitude and longitude) with one meter accuracy; height of reference sensor with 0.1-0.2 m accuracy; computed equivalent sea level pressure at reference site (with one Pa accuracy); a measure of confidence.

An embodiment also reduces the bits of data transmitted but broadcasts each piece of data relative to some known constant. For example, the reference sites are relatively close to the mobile site, so only the fractional degrees of latitude and longitude may be transmitted, leaving the integer part to be assumed. Similarly, air pressure, although typically on the order of 10⁵ Pascals, only varies by a few thousand Pa from the standard atmosphere. Thus, an embodiment broadcasts the offset from standard atmospheric pressure to reduce the bandwidth over broadcasting the absolute pressure.

Latitude and longitude, as obtained from GPS or similar systems, are not particularly useful in urban applications. Instead a database is needed to map latitude and longitude into street addresses. Elevation has a similar limitation in the vertical dimension. The useful parameter is which floor a person is on. This can be determined accurately from elevation information if there is access to a database of the ground level elevation and the height of each floor in a building. For low buildings up to approximately 3 stories, it may be sufficient to know ground level elevation from mapping or similar databases, and estimate floor height. For taller buildings more accurate information about floor height will be needed.

This presents an opportunity to implement smart learning algorithms. For example, one can assume that cell phones will be carried between 1 m and 2 m from the floor. Thus, the system of an embodiment can accumulate the elevations of many cell phones in a building, wherein the data is expected to cluster around 1.5 m from each floor. With enough data, it is possible to develop confidence as to the height of each floor in the building. Thus, the database could be learned and refined over time. Such an algorithm becomes more complicated in buildings with ramps, or mezzanines between floors, but may still generate useful data for the majority of buildings.

The sensor offsets, and potentially other parameters, can be calibrated at the time of manufacture. This should be possible by cycling the sensors through a range of temperature and pressure with a known good sensor providing reference information. It is likely that these calibration parameters will slowly drift with age. Therefore, an embodiment uses an algorithm to gradually update the calibration over time (e.g., algorithm recognizes when a sensor is stationary at a known height and updates the calibration table under those conditions).

In addition to the general application of determining a person's location, an embodiment may include specialized applications that use more precise relative elevation information, while not needing absolute elevation information. For example, finding a downed firefighter in a building requires that the position of the downed person relative to the rescue party be known precisely, but neither absolute position is as important. Additional precision in relative positioning would be possible by having an extra manual step at the beginning of the application. For example, all firefighters could initialize there trackers at a known location, such as the entrance to the building, before they enter. Their position relative to that point, and thus relative to each other could be determined quite accurately for a period of time, even if absolute elevation is not accurate, and weather related pressure changes cannot be completely compensated for. Similarly, a shopping related application that requires more precision than available from the absolute measurements could be implemented by having the user press a button at a known point in the mall. Their position relative to that point could then be determined quite accurately for a period of time.

Alternatively, a mobile beacon can be utilized as a local reference to provide more accuracy in a particular location. For example, a shopping mall could have its own reference sensor, to provide more accuracy within the mall. Similarly, a fire truck could be equipped with a reference sensor to provide local reference information at the scene of a fire.

Low cost pressure sensors have a problem in that they have an offset from the correct reading. Experiments have shown that this offset is quite stable on time scales of weeks to months. However, it is likely that this offset will slowly drift with time over a period of many months to years. While it is straightforward to measure this offset, and compensate for it at the time of manufacture, it is unlikely that the compensation will stay accurate for the life of the product. Therefore, a means of recalibrating in the field is required.

The sensor of an embodiment can be recalibrated if it is at a known elevation and the atmospheric pressure is known. The embodiment identifies practical situations where the sensor will be at a known elevation. For example, if the sensor is in a device that has GPS capability, and the GPS satellites are being received with high signal strength, the GPS derived altitude should be quite accurate. Accumulating the deviations from GPS altitude over time, under good signal conditions, can provide an estimate of the correction needed to the sensor calibration.

Similarly, the sensor system can learn the user's habits and use this information to later correct the calibration. For example, if the user consistently places her phone in one place at night, the sensor can start tracking the altitude at this location, perhaps at specific times, such as late night. Initially, these values would be accumulated and stored as the true altitude at that location. After several months, when the sensor determines that it is in the same location at the same time of night, it could start to track deviations from the true altitude determined earlier. These deviations could then be accumulated to slowly generate a correction to the calibration. Because these approaches also use knowledge of current atmospheric pressure, they use reference pressure measurements provided by the WAPS network.

The standard process for determining altitude from pressure readings involves converting the measurements at a reference location to the equivalent sea level pressure, and then using that to determine the altitude of the unknown pressure sensor. The standard formula is:

$z = {{- \frac{RT}{g}}{\ln \left( \frac{P}{P_{0}} \right)}}$

Note that a minus sign has been added, since height is conventionally measured as positive moving away from the surface of the earth. In addition, the logarithm has been corrected to ‘ln’ since this is a natural logarithm. This formula relates, z, the height above sea level, to the atmospheric temperature (T) and pressure (P) at that point, and the sea level air pressure (P₀) below that point.

One additional problem with applying this formula is that the height is directly proportional to the temperature, a measured quantity not known precisely. This means that a 1% error in temperature will result in a 1% error in height. When used near sea level this will not be a significant problem. However, when this formula is applied in tall buildings and especially in higher elevation areas, such as Denver, a 1% error in height may be significant when attempting to resolve floor level elevation. For example, the elevation of Denver is about 1608 m. Thus, a 1% error in temperature will result in an error in height above sea level of 16 m. This is nearly 5 floors.

One way to avoid this sensitivity to temperature accuracy is to recognize that the formula above is actually a relative formula. That is the formula can be generalized to:

${z_{1} - z_{2}} = {{- \frac{RT}{g}}{\ln \left( \frac{P_{1}}{P_{2}} \right)}}$

where z₁ and z₂ are any two elevations, and P₁ and P₂ are the pressures at those elevations. It was only a matter of convention that z₂ was set to 0, and thus P₂ became the sea level pressure.

Instead of using sea level as the reference point, any convenient elevation could be used. For example, the mean elevation of the city would be reasonable, or the mean elevation of the reference sensors used for collecting pressure data would work. As long as a reference elevation is used that keeps the height differences small, the impact of temperature error will be insignificant. The only requirement is that all devices involved in the system know what reference elevation is being used.

There is a standard formula that relates elevation of a point above the earth (z), the atmospheric temperature (T) and pressure (P) at that point, and the sea level air pressure (P₀) below that point as

$z = {\frac{RT}{g}{\ln \left( \frac{P}{P_{0}} \right)}}$

This formula assumes that there is a column of air at constant temperature between sea level and the point of interest. Therefore, the sea level pressure used is a virtual construct, and not necessarily the real pressure at sea level, since the point of interest may not be near a true sea level.

The standard process for determining elevation of an object is a two step process. First sea level pressure is determined by measuring temperature and pressure at a point of known elevation, and then inverting this formula to solve for P₀. Next, the temperature and pressure at the point of unknown elevation are measured, and this formula is applied to determine the unknown elevation.

Implicit in this process is the assumption that only parameter of interest is the height of other objects above the same horizontal location, as is typical for aircraft approaching an airfield, using measurements at the airfield for reference. Typically, people interested in height determination for other purposes have extended this concept to determining the height in the general vicinity of a reference location, but not directly above it. This extension assumes that the sea level pressure does not change between the location of interest in the vicinity and the reference location.

Thus, there are three assumptions in this process. A first assumption is that the temperature is constant from the reference location to the virtual sea level point below it. A second assumption is that the temperature is constant from the point of interest to the virtual sea level point below it. A third assumption is that the sea level pressure is the same at the reference location and the point of interest. However, since sea level pressure depends upon temperature, assuming that the sea level pressure is the same at two locations implies that the temperature is the same at those locations. Thus, if different temperatures are measured at the reference location and point of interest, one of these assumptions has been violated. Measurements have shown that even over distances of a few kilometers, there are differences in temperature and in pressure that can be significant for elevation determination.

The assumption of constant temperature over elevation changes at a given location is part of the equilibrium model for the atmosphere, and is probably necessary. The only alternative would be a full dynamic model of the atmosphere, including the effects of wind, surface heating, convection, and turbulence. Atmospheric data suggest that at least on large distance scales, the constant temperature model is a very good approximation at elevations below 1 km. At higher elevations, a linear lapse rate is often applied.

An embodiment relaxes the assumption of constant sea level pressure between the reference location and the point of interest. A first approach of an embodiment takes the sea level pressure for the reference location determined as above, but further applies the ideal gas law to convert this to a sea level pressure at a standard temperature. Then assume that this sea level pressure at a standard temperature would be the same at the point of interest. The temperature at the new location would then be used to convert this to the sea level pressure for that location, and then apply the formula above to determine the elevation.

A second approach of an embodiment uses a network of reference locations to determine the variation of equivalent sea level pressure with horizontal location in real time. These multiple measurements are then combined to determine a best estimate of the sea level pressure at the point of interest. There are at least two possible ways of determining the best estimate: a weighted average approach in which the weighting is a function of the horizontal distance from the particular reference point to the point of interest; a least square fit to create a second order surface that best fits the computed sea level pressures at the reference locations and can then be used to interpolate an estimate of the sea level pressure at the point of interest.

The two approaches described above can also be combined. That is, at each reference location the sea level pressure at standard temperature is determined, and these data are combined using one of the techniques above to generate a best estimate of the sea level pressure at standard temperature at the point of interest.

Additionally, when using the altimeter, an embodiment recognizes sudden movements in pressure such as the air conditioner changing state (e.g., turning ON, etc.) or windows opening in a car by using application level data into the hardware or software filters that operate continuously on the location and altimeter data.

Further, a wind gauge can be used at the beacon to determine the direction of the wind flow, which is believed to be a indicator of atmospheric pressure gradient. A wind gauge along with a compass can be used to determine the precise direction and level of wind flow which can then be used to correct and/or filter our variations in the user's sensor.

The per floor height of a given building can be determined by various methods including but not limited to a user walking the building through the stairs and collecting information about each floor, ramps etc. In addition an electronic diagram can be used to determine the relative height of each floor.

When the height is estimated based on either WAPS or the altimeter, information such as terrain, height of the building, height of surrounding buildings, etc. can be used to constrain the height solution.

Once an average pressure is known at a given location, along with historical reference pressure data collected from the reference sensors over a long period of time (days, months, year), it can be used to predictably determine the height based on the pressure at that location (without calibration or user input).

In one embodiment, the height of the user can be computed on a remote server by using the data from the user's sensor and combining it with the data from reference sensors. In this method, other information such as building information, crowd sourced information, etc. can also be used to determine the user's precise altitude.

In case a user is in close proximity to another user whose height is known, this information can be used to determine the unknown user's height.

In one embodiment of the network, the reference sensors need not necessarily be co-located with the WAPS beacon. A finer or a coarser grid of independent sensors with data connection to the server can be used for reference pressure measurement. The centralized server can either send reference pressure information to the mobile or can instruct the transmitters with data that needs to be sent to the mobile as a part of the WAPS data stream.

In another embodiment, the WAPS system uses an additional simplified beacon (supplemental beacon) that provides additional sensor information such as pressure, temperature in a smaller area such as a building. This transmission may be synchronous or asynchronous to the main WAPS timing beacons. Additionally, the supplemental beacon may either upload the sensor data to a centralized server from which it is disseminated to the mobile units or transmit the data over a predefined set of PRN codes which can be demodulated by the WAPS mobile receiver.

The reference pressure network can be optimized based on accuracy requirements and historic pressure variation data for a given local area. For example, in cases where very accurate measurement is a must, a reference sensor can be deployed in that building or a mall.

The WAPS beacon network along with the reference pressure data forms a close network of accurate pressure and temperature measurement with very short time intervals which can be harnessed by other applications such as geodesy.

The rate of change of pressure combined with data from other sensors can be used to determine vertical velocity which can then be used to determine if a user went through an elevator. This can be very useful in emergency situations and/or tracking applications.

In cases of sensors with lower resolution than needed to estimate floor height, under static conditions, averaging the pressure measurements over time can be used to obtain the user height based on reference data.

Example Methodologies

Functionality and operation disclosed herein may be embodied as one or more methods implemented by processor(s) at one or more locations. Non-transitory processor-readable media embodying program instructions adapted to be executed to implement the method(s) are also contemplated. The program instructions may be contained in at least one semiconductor chip. Methods of this disclosure may be implemented by hardware, firmware or software. One or more non-transitory processor-readable media embodying program instructions that, when executed by one or more processors, cause the one or more processors to perform or implement operations comprising the steps of any of the methods described herein are contemplated. As used herein, processor-readable media includes all forms of processor-readable media (e.g. non-volatile or volatile storage media, removable or non-removable media, integrated circuit media, magnetic storage media, optical storage media, or any other storage media) that may be patented under the laws of the jurisdiction in which this application is filed, but does not include processor-readable media that cannot be patented under the laws of the jurisdiction in which this application is filed. By way of example, a “processor” may include one or more computing device(s), processor(s), controller(s), integrated circuit(s), chip(s), system(s) on a chip, server(s), programmable logic device(s), other circuitry, and/or other suitable means described herein or otherwise known in the art. Systems that include one or more processors or the one or more non-transitory processor-readable media embodying program instructions that, when executed by the one or more processors, cause the one or more processors to perform or implement operations comprising the steps of any methods described herein are also contemplated.

By way of example, not by way of limitation, method(s) may comprise: identifying a plurality of estimated altitudes corresponding to a plurality of historical positions of the one or more receivers in a building; and identifying a height for each of a plurality floors in the building based on the plurality of estimated altitudes.

Method(s) may further or alternatively comprise: identifying a first set of estimated altitudes that are within a threshold amount of distance from each other; identifying a first height that corresponds to the first set of estimated altitudes; and mapping the first height to a first floor of the building. In accordance with some aspects, the first height is based on an average of each estimated altitude in the first set of altitudes. In accordance with some aspects, the threshold amount of distance is 1 meter.

Method(s) may further or alternatively comprise: identifying a second set of estimated altitudes, from the plurality of estimated altitudes, that are within the threshold amount of distance from each other; identifying a second height that corresponds to the second set of estimated altitudes; and mapping the second height to a second floor of the building.

Method(s) may further or alternatively comprise: identifying an additional set of estimated altitudes, from the plurality of estimated altitudes, that are within the threshold amount of distance from each other; identifying an additional height that corresponds to the additional set of estimated altitudes; and mapping the additional height to an additional floor of the building based on a first difference in height between the first height and the second height.

Method(s) may further or alternatively comprise: determining a second difference between the additional height and the first height; determining a ratio of the second difference to the first difference; identifying a floor number of the first floor; and determining a floor number of the additional floor based on the ratio. Method(s) may further or alternatively comprise: mapping an additional height to an additional floor of the building based on a difference in height between the first height and the second height. Method(s) may further or alternatively comprise: dividing the plurality of estimated altitudes into sets of estimated altitudes that are within the threshold amount of distance from each other; identifying a total number of the sets; and determining a minimum number of floors in the building based on a total number.

By way of example, not by way of limitation, method(s) may comprise: determining a first estimate of a receiver's position in three dimensions; comparing the first estimate of the receiver's position to a first geo-fence associated with a first building; determining, based on the comparison, a first relationship between the first estimated position and the first building, wherein the first relationship specifies whether the first estimated position is within the first building, outside of the first building, or within an adjacent building; and determining a confidence level related to the first relationship.

Method(s) may further or alternatively comprise: comparing the first estimate of the receiver's position to a second geo-fence associated with a second building; determining, based on the comparison, a second relationship between the first estimated position and the second building, wherein the second relationship specifies whether the first estimated position is within the second building, outside of the second building, within the first building, or within the adjacent building; and determining a confidence level related to the second relationship.

By way of example, not by way of limitation, method(s) may comprise: determining a first estimate of a receiver's position; setting the current position of the receiver as the first estimate of the receiver's position; determining a second estimate of the receiver's position; determining whether the second estimated position, relative to the first estimated position, indicates that the receiver has moved more than a threshold distance; after determining that the second estimated position, relative to the first estimated position, indicates that the receiver has moved more than a threshold distance, determining whether one or more sensors of the receiver indicate that the receiver actually moved more than the threshold distance; setting, based on determining that the one or more sensors of the receiver indicate that the receiver moved more than the threshold distance, the current position of the receiver as the second estimate of the receiver's position; and maintaining, based on determining that the one or more sensors of the receiver indicate that the receiver did not move more than the threshold distance, the current position of the receiver as the first estimate of the receiver's position.

By way of example, not by way of limitation, method(s) may comprise: determining a first estimate of a receiver's position; and disabling an application on the receiver based on a comparison of the first estimate of the receiver's position and a first set of three-dimensional position information corresponding to a first geo-fence inside a building. Method(s) may further or alternatively comprise: determining a second estimate of the receiver's position; and enabling the application on the receiver based on a comparison of the second estimate of the receiver's position and a second set of three-dimensional position information corresponding to a second geo-fence inside the building. In accordance with some aspects, the application is disabled to lower power consumption of the receiver. In accordance with some aspects, the application is disabled to prevent the receiver from accessing data from inside the building.

By way of example, not by way of limitation, method(s) for determining if a receiver is inside or outside a building or area may comprise: determining an estimate of a position of a receiver; and using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building based on both a first geo-fence of the first building and a height of the first building. For example, one determination is made as to whether the position of the receiver is inside the first building based on the first geo-fence using processes described elsewhere herein, and another determination is made whether the position of the receiver is inside the first building based on the height of the first building using processes described elsewhere herein. If both processes indicate the position of the receiver is inside the first building, then a final determination is made that the position of the receiver is inside the first building. If both processes do not indicate the position of the receiver is inside the first building, then a final determination is made that the position of the receiver may be inside the first building with less certainty than if both processes indicate the position of the receiver is inside the first building.

By way of example, not by way of limitation, system(s) for collecting and using data in association with three-dimensional estimates of position that correspond to one or more mobile user devices may comprise: at least one data source that stores data corresponding to one or more buildings, wherein the data corresponding to each of the one or more buildings specifies an identifier, an address, latitude, longitude, an altitude of each floor, and a map of each floor corresponding to that building; and one or more processors that access the data in association with one or more requests from one or more mobile user devices.

In accordance with some aspects, the one or more processors verify one or more developer keys associated with the one or more mobile user devices before giving the mobile user device access to at least some of the data. In accordance with some aspects, the one or more processors enforce a first set of business rules associated with a first request to use the data by a first mobile user device In accordance with some aspects, the one or more processors monitor a first rate of usage of the data by a first mobile user device. In accordance with some aspects, the first rate of usage pertains only to use of the data in association with a first key.

The processor(s) may: compare estimated latitude, longitude and altitude of a mobile user device to a three-dimensional geo-fence associated with a building; and determine, based on the comparison, whether the estimated latitude, longitude and altitude are within the three-dimensional geo-fence or outside of the three-dimensional geo-fence. The processor(s) may: compare estimated latitudes, longitudes and altitudes of a mobile user device during a time period to a three-dimensional geo-fence associated with a building; and determine, based on the comparison, a number of times the mobile user device traversed the geo-fence during the time period. The processor(s) may: determine whether estimated altitudes of a mobile user device exceeds a height of a building over a period of time; and discount the presence of the mobile user device in that building when the estimated altitudes exceed the height of the building over the period time. In accordance with some aspects, the one or more processors cause a map of a floor in a building to display on a first user device when an estimated altitude of a second user device correlates to the floor. In accordance with some aspects, the one or more processors geo-code a floor of a building using three-dimensional position estimates of mobile user devices.

In accordance with some aspects, the processors identify an advertisement to transmit to a mobile user device based on historical path data associated with the mobile user device. In accordance with some aspects, the data corresponding to the buildings specifies RF signature information for signals received from different transmitters at different floors. In accordance with some aspects, the data corresponding to at least one of the buildings specifies a geo-fence associated with a floor in that building. In accordance with some aspects, the geo-fence is defined by a three-dimensional boundary. In accordance with some aspects, the geo-fence is further defined by a first time period when the floor is used for a first purpose and a second time period when the floor is used for a second purpose. In accordance with some aspects, the data corresponding to each building specifies a quality metric value that represents estimated quality of at least some of the data. In accordance with some aspects, the data corresponding to each building specifies a relevance metric value that represents estimated relevance of at least some of the data. In accordance with some aspects, the data corresponding to at least one of the buildings specifies demographic or interest information associated with a mobile user device.

Any portion of the functionality embodied in the method(s) above may be combined with any other portion of that functionality. Systems that carry out functionality (e.g., embodied as methods) may include one or more devices, including transmitter(s) from which position information is sent, receiver(s) at which position information is received, processor(s)/server(s) used to compute a position of a receiver and carry out other functionality, input/output (I/O) device(s), data source(s) and/or other device(s). Outputs from a first device or group of devices may be received and used by another device during performance of methods. Accordingly, an output from one device may cause another device to perform a method even where the two devices are no co-located (e.g., a receiver in a network of transmitters and a server in another country). Additionally, one or more computers may programmed to carry out various methods, and instructions stored on one or more processor-readable media may be executed by a processor to perform various methods.

Example Systems & Other Aspects

Various techniques are used to estimate the position of an receiver, including trilateration, which is the process of using geometry to estimate a location of the receiver using distances (or “ranges”) traveled by different “ranging” signals that are received by the receiver from different beacons (or antennas when using a multi-antenna configuration). If the time of transmission of a ranging signal from a transmitter and the reception time of the ranging signal are known, then the difference between those times multiplied by speed of light would provide an estimate of the distance traveled by that ranging signal. These estimates are often referred to as “range measurements”. In most cases, the range measurements are not equal to the actual ranges (i.e., shortest distances) between transmitters and the receiver, mainly because signals reflect off of objects disposed between the transmitters and the receiver. Consequently, the estimate of the receiver's position is not necessarily equal to the actual position. It is noted that the term “GPS” may refer to any Global Navigation Satellite Systems (GNSS), such as GLONASS, Galileo, and Compass/Beidou, and vice versa.

The various illustrative systems, methods, logical features, blocks, modules, components, circuits, and algorithm steps described herein may be implemented, performed, or otherwise controlled by suitable hardware known or later developed in the art, or by firmware or software executed by processor(s), or any such combination of hardware, software and firmware. Systems may include one or more devices or means that implement the functionality (e.g., embodied as methods) described herein. For example, such devices or means may include processor(s) that, when executing instructions, perform any of the methods disclosed herein. Such instructions can be embodied in software, firmware and/or hardware. A processor (also referred to as a “processing device”) may perform or otherwise carry out any of the operational steps, processing steps, computational steps, method steps, or other functionality disclosed herein, including analysis, manipulation, conversion or creation of data, or other operations on data. A processor may include a general purpose processor, a digital signal processor (DSP), an integrated circuit, a server, other programmable logic device, or any combination thereof. A processor may be a conventional processor, microprocessor, controller, microcontroller, or state machine. A processor can also refer to a chip or part of a chip (e.g., semiconductor chip). The term “processor” may refer to one, two or more processors of the same or different types. It is noted that a computer, computing device and receiver, and the like, may refer to devices that include a processor, or may be equivalent to the processor itself.

A “memory” may accessible by a processor such that the processor can read information from and/or write information to the memory. Memory may be integral with or separate from the processor. Instructions may reside in such memory (e.g., RAM, flash, ROM, EPROM, EEPROM, registers, disk storage), or any other form of storage medium. Memory may include a non-transitory processor-readable medium having processor-readable program code (e.g., instructions) embodied therein that is adapted to be executed to implement the various methods disclosed herein. Processor-readable media be any available storage media, including non-volatile media (e.g., optical, magnetic, semiconductor) and carrier waves that transfer data and instructions through wireless, optical, or wired signaling media over a network using network transfer protocols. Instructions embodied in software can be downloaded to reside on and operated from different platforms used by known operating systems. Instructions embodied in firmware can be contained in an integrated circuit or other suitable device. Data” and “information” may be used interchangeably. A data source which is depicted as a single storage device may be realized by multiple (e.g., distributed) storage devices. A data source may include one or more types of data sources, including hierarchical, network, relational, non-relational, object-oriented, or another type of data source. As used herein, processor-readable media includes all forms of processor-readable medium except, to the extent that such media is deemed to be non-statutory (e.g., transitory propagating signals).

Functionality disclosed herein may be programmed into any of a variety of circuitry that is suitable for such purpose as understood by one of skill in the art. For example, functionality may be embodied in processors having software-based circuit emulation, discrete logic, custom devices, neural logic, quantum devices, PLDs, FPGA, PAL, ASIC, MOSFET, CMOS, ECL, polymer technologies, mixed analog and digital, and hybrids thereof. Data, instructions, commands, information, signals, bits, symbols, and chips disclosed herein may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof. Computing networks may be used to carry out functionality and may include hardware components (servers, monitors, I/O, network connection). Application programs may carry out aspects by receiving, converting, processing, storing, retrieving, transferring and/or exporting data, which may be stored in a hierarchical, network, relational, non-relational, object-oriented, or other data source.

Features in system and apparatus figures that are illustrated as rectangles may refer to hardware, firmware or software. It is noted that lines linking two such features may be illustrative of data transfer between those features. Such transfer may occur directly between those features or through intermediate features even if not illustrated. Where no line connects two features, transfer of data between those features is contemplated unless otherwise stated. Accordingly, the lines are provide to illustrate certain aspects, but should not be interpreted as limiting. The words “comprise,” “comprising,” “include,” “including” and the like are to be construed in an inclusive sense (i.e., not limited to) as opposed to an exclusive sense (i.e., consisting only of). Words using the singular or plural number also include the plural or singular number respectively. The words “or” or “and” cover both any of the items and all of the items in a list. “Some” and “any” and “at least one” refers to one or more. The term “device” may comprise one or more components (e.g., a processor, a memory, a receiver, a screen, and others). The disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope understood by a skilled artisan, including equivalent systems and methods.

RELATED APPLICATIONS

This application relates to U.S. Patent Application Nos. 61/789,824 (filed Mar. 15, 2013, entitled SYSTEMS AND METHODS RELATING TO ENHANCEMENT OF USER EXPERIENCE USING IMPROVED MOBILE APPLICATIONS AND THREE-DIMENSIONAL LOCATION INFORMATION), 61/790,036 (filed Mar. 15, 2013, entitled SYSTEMS AND METHODS FOR PROVIDING WE-BASED SERVICES USING 3D LOCATION ENVIRONMENTAL AND USER INFORMATION), Ser. No. 14/207,210 (filed Mar. 12, 2014, entitled SYSTEMS AND METHODS FOR USING THREE-DIMENSIONAL LOCATION INFORMATION TO IMPROVE LOCATION SERVICES), Ser. No. 15/072,831 (filed Mar. 17, 2016, entitled SYSTEMS AND METHODS FOR USING THREE-DIMENSIONAL LOCATION INFORMATION TO IMPROVE LOCATION SERVICES), and Ser. No. 15/952,600 (filed Apr. 13, 2018, entitled SYSTEMS AND METHODS FOR USING THREE-DIMENSIONAL LOCATION INFORMATION TO IMPROVE LOCATION SERVICES), the contents of which are hereby incorporated by reference herein in their entirety. 

1. A method for determining if a receiver is inside or outside a building or area, the method comprising: determining an estimate of a position of a receiver; and using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building based on a first geo-fence of the first building or a height of the first building.
 2. The method of claim 1, wherein using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building comprises: determining if the estimate of the position is closer to the first geo-fence of the first building than a second geo-fence of a second building, and if the estimate of the position is closer to the first geo-fence of the first building than the second geo-fence of the second building, determining that the receiver is inside the first building; determining a first distance between the estimate of the position and the first geo-fence of the first building, determining a second distance between the estimate of the position and a second geo-fence of a second building, determining if the first distance and the second distance are within a predefined amount of distance, and if the first distance and the second distance are within the predefined amount of distance, determining that the receiver is between the first building and the second building; comparing the estimate of the position to the first geo-fence of the first building, determining, based on the comparison, a first relationship between the estimate of the position and the first building, wherein the first relationship specifies whether the estimate of the position is within the first building, outside of the first building, or within an adjacent building, and determining a first confidence level related to the first relationship; determining if the first building is shorter than the estimated altitude, and if the first building is shorter than the estimated altitude, determining that the position of the receiver is not inside the first building; determining if the first building is shorter than the estimated altitude, and if the first building is taller than the estimated altitude, determining that the position of the receiver is inside the first building; determining if the receiver is inside the first building or inside a second building by determining if the first building is shorter than the estimated altitude, determining if the second building is taller than the estimated altitude, and if the first building is shorter than the estimated altitude and if the second building is taller than the estimated altitude, determining that the position of the receiver is inside the second building; or determining if the receiver is inside the first building or inside a second building by determining if the first building is taller than the estimated altitude, determining if the second building is taller than the estimated altitude, if the first building is taller than the estimated altitude and if the second building is taller than the estimated altitude, determining if estimated the altitude is in an inaccessible area of the first building, and if the estimated altitude is in the inaccessible area of the first building, determining that the position of the receiver is inside the second building.
 3. The method of claim 1, wherein using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building comprises: using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside the first building based on the first geo-fence of the first building by: determining if the estimate of the position is closer to the first geo-fence of the first building than a second geo-fence of a second building; and if the estimate of the position is closer to the first geo-fence of the first building than the second geo-fence of the second building, determining that the receiver is inside the first building.
 4. The method of claim 1, wherein using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building comprises: using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside the first building based on the first geo-fence of the first building by: determining a first distance between the estimate of the position and the first geo-fence of the first building; determining a second distance between the estimate of the position and a second geo-fence of a second building; determining if the first distance and the second distance are within a predefined amount of distance; and if the first distance and the second distance are within the predefined amount of distance, determining that the receiver is between the first building and the second building.
 5. The method of claim 4, wherein the predefined distance is a few meters.
 6. The method of claim 1, wherein using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building comprises: using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside the first building based on the first geo-fence of the first building by: comparing the estimate of the position to the first geo-fence of the first building; determining, based on the comparison, a first relationship between the estimate of the position and the first building, wherein the first relationship specifies whether the estimate of the position is within the first building, outside of the first building, or within an adjacent building; and determining a first confidence level related to the first relationship.
 7. The method of claim 6, wherein using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building comprises: comparing the estimate of the position to a second geo-fence associated with a second building; determining, based on the comparison, a second relationship between the estimate of the position and the second building, wherein the second relationship specifies whether the estimate of the position is within the second building, outside of the second building, or within an adjacent building; and determining a second confidence level related to the second relationship.
 8. The method of claim 1, wherein the estimate of the position includes an estimated altitude, and wherein using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building comprises: using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building based on a height of the first building by: determining if the first building is shorter than the estimated altitude; and if the first building is shorter than the estimated altitude, determining that the position of the receiver is not inside the first building.
 9. The method of claim 1, wherein the estimate of the position includes an estimated altitude, and wherein using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building comprises: using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building based on a height of the first building by: determining if the first building is shorter than the estimated altitude; and if the first building is taller than the estimated altitude, determining that the position of the receiver is inside the first building.
 10. The method of claim 1, wherein the estimate of the position includes an estimated altitude, and wherein using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building comprises: using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building based on a height of the first building by: determining if the receiver is inside the first building or inside a second building, wherein determining if the receiver is inside the first building or inside a second building comprises: determining if the first building is shorter than the estimated altitude; determining if the second building is taller than the estimated altitude; and if the first building is shorter than the estimated altitude and if the second building is taller than the estimated altitude, determining that the position of the receiver is inside the second building.
 11. The method of claim 1, wherein the estimate of the position includes an estimated altitude, and wherein using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building comprises: using the estimate of the position of the receiver and other data to determine if the position of the receiver is inside a first building based on a height of the first building by: determining if the receiver is inside the first building or inside a second building, wherein determining if the receiver is inside the first building or inside a second building comprises: determining if the first building is taller than the estimated altitude; determining if the second building is taller than the estimated altitude; if the first building is taller than the estimated altitude and if the second building is taller than the estimated altitude, determining if estimated the altitude is in an inaccessible area of the first building; and if the estimated altitude is in the inaccessible area of the first building, determining that the position of the receiver is inside the second building.
 12. The method of claim 2, the method comprising: disabling an application on the receiver based on a comparison of the estimate of the position and position information of the first geo-fence inside a building, wherein the application is disabled to lower power consumption of the receiver or the application is disabled to prevent the receiver from accessing data from inside the building; determining another estimate of another position of the receiver; and enabling the application on the receiver based on a comparison of the other estimate of the other position and position information of a second geo-fence inside the building.
 13. A system that includes at least one processor and is operable to implement the method of claim
 1. 14. One or more non-transitory processor-readable media embodying program instructions that, when executed by one or more processors, cause the one or more processors to implement the method of claim
 1. 